package com.example.springboot.service;

import com.example.springboot.common.Result;
import com.example.springboot.entity.Guide;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.util.List;

public interface IGuideService extends IService<Guide> {
    Result insertGuide(Guide guide);
    List<Guide> findByName(Integer userId, String guideName);
    Result getModelLinks(Integer id) throws JsonProcessingException;
    Result findByUser(Integer userId);
    Result createDirection(String jsonString) throws JsonProcessingException;
    Result recommendKeyWord(List<Integer> num);

    boolean removeGuideInfo(Integer id);
}
